package com.cyx.system.domain.user.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class UserVO {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

    private String nickName;

    private String image;

    private Integer sex;

    private String phone;

    private String code;

    private String email;

    private String wechat;

    private String school;

    private String major;

    private String introduce;

    private Integer status;

    private LocalDateTime createTime;
}
